export default [
  {
    path: '/',
    redirect: '/pages',
    hidden: true,
  },
  {
    id: 101,
    path: "/pages",
    redirect: "/pages/Errand",
    component: "BasicLayout",
    key: "pages",
    children: [
      {
        id: 1011,
        name: "跑腿骑手管理",
        path: "/pages/Errand",
        redirect: "/pages/Errand/RiderDetails",
        icon: 'GatewayOutlined',
        key: "Errand",
        children: [
          {
            id: 10111,
            name: "骑手详情",
            path: "/pages/Errand/RiderDetails",
            component: "/pages/Errand/RiderDetails",
            icon: 'FileDoneOutlined',
            key: "RiderDetails"
          },
        ]
      },
      {
        id: 1012,
        name: "订单管理",
        path: "/pages/OrderManagement",
        redirect: "/pages/OrderManagement/OrderDetails",
        icon: 'GatewayOutlined',
        key: "errand",
        children: [
          {
            id: 10112,
            name: "骑手详情",
            path: "/pages/OrderManagement/OrderDetails",
            component: "/pages/OrderManagement/OrderDetails",
            icon: 'FileDoneOutlined',
            key: "OrderDetails"
          },
        ]
      }
    ]
  },


]